#ifndef GNLUSERINTERFACE_H
#define GNLUSERINTERFACE_H

#include "gnlLight.h"
#include "gnlDataModel.h" //gnlMaterial
#include <AntTweakBar.h>
//OpenGL libs
#include <GL/glut.h>
#include <gl/gl.h>
#include <gl/glu.h> 
#include <glaux.h>


class gnlUserInterface{

private:
	TwBar *sceneSetup;
	TwBar *lightSetup;
	TwBar *materialSetup;
public:

	gnlUserInterface():sceneSetup(NULL){}
	void create(float *rotation, float *translation, float *bgColor, gnlSpotLight *spotLight, gnlMaterial *mat);

	void lightBar(gnlSpotLight *spot);
	void sceneBar(float *rotation, float *translation, float *bgColor);
	void materialBar(gnlMaterial *mat);
	
		void render();
	void destroy(){
		TwTerminate();
	}
	void resize(int width, int height){
		TwWindowSize(width, height);
	}
};


#endif